import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 查询工具需求
export const queryToolDemand = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/basedata/repairTool/selectRepairTool`, {
  params
});

// 导出
export const exportData = params => axios.get(`${SERVER.DMSCLOUD_REPAIR}/basedata/repairTool/exportToolDemand`, {
  params,
  responseType: 'arraybuffer'
});
